const Mock = require('mockjs');

module.exports = () => {
  return Mock.mock({
    "banners|5": [{
      "image": "@image(100x100, @color, banner)",
      "id": "@id"
    }],
    "menus|9": [{
      "id|+1": 1,
      "title": "@ctitle(2)",
      "image": "@image(50x50, @color, menus)"
    }],
    "list|100": [{
      "id": "@id",
      "menuID|1-9": 1,
      "title": "@ctitle",
      "image": "@image(220x120, @color, list)",
      "word": "@cword(10, 20)",
      "price|10-1000": 1
    }]
  })
}